package com.googlecode.animeclassifier.attribute;

public enum Attributes {
	NAME,
	VOLUME,
	DEFINITION,
	FORMAT,
	PUBLISHER,
	RIPPER,
	YEAR,
	SEASON;
	
	public static Attributes getAttributesByIdx(int idx) {
		switch(idx) {
		case 0:
			return NAME;
		case 1:
			return VOLUME;
		case 2:
			return DEFINITION;
		case 3:
			return FORMAT;
		case 4:
			return PUBLISHER;
		case 5:
			return RIPPER;
		case 6:
			return YEAR;
		case 7:
			return SEASON;
		}
		return null;
	}
}